<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.5) on Mon Sep 12 08:35:25 CEST 2016 -->
    <title>TestContext (Groovy Documentation)</title>
    <meta name="date" content="2016-09-12">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="TestContext (Groovy Documentation)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/unit/TestContext" target="_top">Frames</a></li>
            <li><a href="TestContext.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>io.vertx.groovy.ext.unit</strong></div>

    <h2 title="[Groovy] Class TestContext" class="title">[Groovy] Class TestContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><ul class="inheritance"></ul></li><li>io.vertx.groovy.ext.unit.TestContext
</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">



    <p> The test context is used for performing test assertions and manage the completion of the test. This context
 is provided by <i>vertx-unit</i> as argument of the test case.
</p>

          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        
        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
        <ul class="blockList">
                <li class="blockList"><a name="constructor_summary"><!--   --></a>
                    <h3>Constructor Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Constructor and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst">
                                <code><a href="#TestContext(java.lang.Object)">TestContext</a></strong>
                                (java.lang.Object delegate)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
        </ul>
        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertEquals(java.lang.Object, java.lang.Object)">assertEquals</a></strong>(java.lang.Object expected, java.lang.Object actual)</code><br>Assert the <code>expected</code> argument is equals to the <code>actual</code> argument. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertEquals(java.lang.Object, java.lang.Object, java.lang.String)">assertEquals</a></strong>(java.lang.Object expected, java.lang.Object actual, java.lang.String message)</code><br>Assert the <code>expected</code> argument is equals to the <code>actual</code> argument. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertFalse(boolean)">assertFalse</a></strong>(boolean condition)</code><br>Assert the specified <code>condition</code> is <code>false</code>. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertFalse(boolean, java.lang.String)">assertFalse</a></strong>(boolean condition, java.lang.String message)</code><br>Assert the specified <code>condition</code> is <code>false</code>. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertInRange(double, double, double)">assertInRange</a></strong>(double expected, double actual, double delta)</code><br>Asserts that the <code>expected</code> double argument is equals to the <code>actual</code> double argument
 within a positive delta. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertInRange(double, double, double, java.lang.String)">assertInRange</a></strong>(double expected, double actual, double delta, java.lang.String message)</code><br>Asserts that the <code>expected</code> double argument is equals to the <code>actual</code> double argument
 within a positive delta. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNotEquals(java.lang.Object, java.lang.Object)">assertNotEquals</a></strong>(java.lang.Object first, java.lang.Object second)</code><br>Assert the <code>first</code> argument is not equals to the <code>second</code> argument. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNotEquals(java.lang.Object, java.lang.Object, java.lang.String)">assertNotEquals</a></strong>(java.lang.Object first, java.lang.Object second, java.lang.String message)</code><br>Assert the <code>first</code> argument is not equals to the <code>second</code> argument. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNotNull(java.lang.Object)">assertNotNull</a></strong>(java.lang.Object expected)</code><br>Assert the <code>expected</code> argument is not <code>null</code>. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNotNull(java.lang.Object, java.lang.String)">assertNotNull</a></strong>(java.lang.Object expected, java.lang.String message)</code><br>Assert the <code>expected</code> argument is not <code>null</code>. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNull(java.lang.Object)">assertNull</a></strong>(java.lang.Object expected)</code><br>Assert the <code>expected</code> argument is <code>null</code>. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertNull(java.lang.Object, java.lang.String)">assertNull</a></strong>(java.lang.Object expected, java.lang.String message)</code><br>Assert the <code>expected</code> argument is <code>null</code>. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertTrue(boolean)">assertTrue</a></strong>(boolean condition)</code><br>Assert the specified <code>condition</code> is <code>true</code>. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#assertTrue(boolean, java.lang.String)">assertTrue</a></strong>(boolean condition, java.lang.String message)</code><br>Assert the specified <code>condition</code> is <code>true</code>. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/Async.html'>Async</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#async()">async</a></strong>()</code><br>Create and returns a new async object, the returned async controls the completion of the test. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/unit/Async.html'>Async</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#async(int)">async</a></strong>(int count)</code><br>Create and returns a new async object, the returned async controls the completion of the test. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#asyncAssertFailure()">asyncAssertFailure</a></strong>()</code><br>Creates and returns a new async handler, the returned handler controls the completion of the test.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#asyncAssertFailure(Handler<Throwable>)">asyncAssertFailure</a></strong>(io.vertx.core.Handler&lt;java.lang.Throwable&gt; causeHandler)</code><br>Creates and returns a new async handler, the returned handler controls the completion of the test.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#asyncAssertSuccess()">asyncAssertSuccess</a></strong>()</code><br>Creates and returns a new async handler, the returned handler controls the completion of the test.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#asyncAssertSuccess(Handler<T>)">asyncAssertSuccess</a></strong>(io.vertx.core.Handler&lt;T&gt; resultHandler)</code><br>Creates and returns a new async handler, the returned handler controls the completion of the test.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;java.lang.Throwable&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#exceptionHandler()">exceptionHandler</a></strong>()</code><br>@return an exception handler that will fail this context</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#fail()">fail</a></strong>()</code><br>Throw a failure.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#fail(java.lang.String)">fail</a></strong>(java.lang.String message)</code><br>Throw a failure with the specified failure <code>message</code>.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#fail(java.lang.Throwable)">fail</a></strong>(java.lang.Throwable cause)</code><br>Throw a failure with the specified failure <code>cause</code>.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>T</strong></code></td>
                            <td class="colLast"><code><strong><a href="#get(java.lang.String)">get</a></strong>(java.lang.String key)</code><br>Get some data from the context.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getDelegate()">getDelegate</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>T</strong></code></td>
                            <td class="colLast"><code><strong><a href="#put(java.lang.String, java.lang.Object)">put</a></strong>(java.lang.String key, java.lang.Object value)</code><br>Put some data in the context.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>T</strong></code></td>
                            <td class="colLast"><code><strong><a href="#remove(java.lang.String)">remove</a></strong>(java.lang.String key)</code><br>Remove some data from the context.</td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            

            

            

            
            <!-- =========== CONSTRUCTOR DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="constructor_detail">
                    <!--   -->
                </a>
                    <h3>Constructor Detail</h3>
                    
                        <a name="TestContext(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><strong>TestContext</strong>(java.lang.Object delegate)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="assertEquals(java.lang.Object, java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertEquals</strong>(java.lang.Object expected, java.lang.Object actual)</h4>
                                <p> Assert the <code>expected</code> argument is equals to the <code>actual</code> argument. If the arguments are not equals
 an assertion error is thrown otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the object the actual object is supposedly equals to</DD><DD><code>actual</code> -  the actual object to test</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertEquals(java.lang.Object, java.lang.Object, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertEquals</strong>(java.lang.Object expected, java.lang.Object actual, java.lang.String message)</h4>
                                <p> Assert the <code>expected</code> argument is equals to the <code>actual</code> argument. If the arguments are not equals
 an assertion error is thrown otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the object the actual object is supposedly equals to</DD><DD><code>actual</code> -  the actual object to test</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertFalse(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertFalse</strong>(boolean condition)</h4>
                                <p> Assert the specified <code>condition</code> is <code>false</code>. If the condition is <code>true</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>condition</code> -  the condition to assert</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertFalse(boolean, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertFalse</strong>(boolean condition, java.lang.String message)</h4>
                                <p> Assert the specified <code>condition</code> is <code>false</code>. If the condition is <code>true</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>condition</code> -  the condition to assert</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertInRange(double, double, double)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertInRange</strong>(double expected, double actual, double delta)</h4>
                                <p> Asserts that the <code>expected</code> double argument is equals to the <code>actual</code> double argument
 within a positive delta. If the arguments do not satisfy this, an assertion error is thrown otherwise
 the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the object the actual object is supposedly equals to</DD><DD><code>actual</code> -  the actual object to test</DD><DD><code>delta</code> -  the maximum delta</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertInRange(double, double, double, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertInRange</strong>(double expected, double actual, double delta, java.lang.String message)</h4>
                                <p> Asserts that the <code>expected</code> double argument is equals to the <code>actual</code> double argument
 within a positive delta. If the arguments do not satisfy this, an assertion error is thrown otherwise
 the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the object the actual object is supposedly equals to</DD><DD><code>actual</code> -  the actual object to test</DD><DD><code>delta</code> -  the maximum delta</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNotEquals(java.lang.Object, java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNotEquals</strong>(java.lang.Object first, java.lang.Object second)</h4>
                                <p> Assert the <code>first</code> argument is not equals to the <code>second</code> argument. If the arguments are equals
 an assertion error is thrown otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>first</code> -  the first object to test</DD><DD><code>second</code> -  the second object to test</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNotEquals(java.lang.Object, java.lang.Object, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNotEquals</strong>(java.lang.Object first, java.lang.Object second, java.lang.String message)</h4>
                                <p> Assert the <code>first</code> argument is not equals to the <code>second</code> argument. If the arguments are equals
 an assertion error is thrown otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>first</code> -  the first object to test</DD><DD><code>second</code> -  the second object to test</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNotNull(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNotNull</strong>(java.lang.Object expected)</h4>
                                <p> Assert the <code>expected</code> argument is not <code>null</code>. If the argument is <code>null</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the argument being asserted to be not null</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNotNull(java.lang.Object, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNotNull</strong>(java.lang.Object expected, java.lang.String message)</h4>
                                <p> Assert the <code>expected</code> argument is not <code>null</code>. If the argument is <code>null</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the argument being asserted to be not null</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNull(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNull</strong>(java.lang.Object expected)</h4>
                                <p> Assert the <code>expected</code> argument is <code>null</code>. If the argument is not, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the argument being asserted to be null</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertNull(java.lang.Object, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertNull</strong>(java.lang.Object expected, java.lang.String message)</h4>
                                <p> Assert the <code>expected</code> argument is <code>null</code>. If the argument is not, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>expected</code> -  the argument being asserted to be null</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertTrue(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertTrue</strong>(boolean condition)</h4>
                                <p> Assert the specified <code>condition</code> is <code>true</code>. If the condition is <code>false</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>condition</code> -  the condition to assert</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="assertTrue(boolean, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/TestContext.html'>TestContext</a> <strong>assertTrue</strong>(boolean condition, java.lang.String message)</h4>
                                <p> Assert the specified <code>condition</code> is <code>true</code>. If the condition is <code>false</code>, an assertion error is thrown
 otherwise the execution continue.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so the API can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>condition</code> -  the condition to assert</DD><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="async()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/Async.html'>Async</a> <strong>async</strong>()</h4>
                                <p> Create and returns a new async object, the returned async controls the completion of the test. Calling the
 <a href='../../../../../io/vertx/groovy/ext/unit/Async.html#complete' title='Async.complete'>Async.complete</a> completes the async operation.<p/>

 The test case will complete when all the async objects have their <a href='../../../../../io/vertx/groovy/ext/unit/Async.html#complete' title='Async.complete'>Async.complete</a>
 method called at least once.<p/>

 This method shall be used for creating asynchronous exit points for the executed test.
   <DL><DT><B>Returns:</B></DT><DD>the async instance</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="async(int)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/unit/Async.html'>Async</a> <strong>async</strong>(int count)</h4>
                                <p> Create and returns a new async object, the returned async controls the completion of the test. This async operation
 completes when the <a href='../../../../../io/vertx/groovy/ext/unit/Async.html#complete' title='Async.complete'>Async.complete</a> is called <code>count</code> times.<p/>

 The test case will complete when all the async objects have their <a href='../../../../../io/vertx/groovy/ext/unit/Async.html#complete' title='Async.complete'>Async.complete</a>
 method called at least once.<p/>

 This method shall be used for creating asynchronous exit points for the executed test.<p/>
   <DL><DT><B>Returns:</B></DT><DD>the async instance</DD></DL><DL><DT><B>Parameters:</B></DT><DD>count</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="asyncAssertFailure()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; <strong>asyncAssertFailure</strong>()</h4>
                                <p> Creates and returns a new async handler, the returned handler controls the completion of the test.<p/>

 When the returned handler is called back with a failed result it completes the async operation.<p/>

 When the returned handler is called back with a succeeded result it fails the test.<p/>
   <DL><DT><B>Returns:</B></DT><DD>the async result handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="asyncAssertFailure(Handler<Throwable>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; <strong>asyncAssertFailure</strong>(io.vertx.core.Handler&lt;java.lang.Throwable&gt; causeHandler)</h4>
                                <p> Creates and returns a new async handler, the returned handler controls the completion of the test.<p/>

 When the returned handler is called back with a failed result it completes the async operation.<p/>

 When the returned handler is called back with a succeeded result it fails the test.<p/>
   <DL><DT><B>Returns:</B></DT><DD>the async result handler</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>causeHandler</code> -  the cause handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="asyncAssertSuccess()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; <strong>asyncAssertSuccess</strong>()</h4>
                                <p> Creates and returns a new async handler, the returned handler controls the completion of the test.<p/>

 When the returned handler is called back with a succeeded result it completes the async operation.<p/>

 When the returned handler is called back with a failed result it fails the test with the cause of the failure.<p/>
   <DL><DT><B>Returns:</B></DT><DD>the async result handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="asyncAssertSuccess(Handler<T>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; <strong>asyncAssertSuccess</strong>(io.vertx.core.Handler&lt;T&gt; resultHandler)</h4>
                                <p> Creates and returns a new async handler, the returned handler controls the completion of the test.<p/>

 When the returned handler is called back with a succeeded result it invokes the <code>resultHandler</code> argument
 with the async result. The test completes after the result handler is invoked and does not fails.<p/>

 When the returned handler is called back with a failed result it fails the test with the cause of the failure.<p/>

 Note that the result handler can create other async objects during its invocation that would postpone
 the completion of the test case until those objects are resolved.
   <DL><DT><B>Returns:</B></DT><DD>the async result handler</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>resultHandler</code> -  the result handler</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="exceptionHandler()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;java.lang.Throwable&gt; <strong>exceptionHandler</strong>()</h4>
                                <p>
   <DL><DT><B>Returns:</B></DT><DD>an exception handler that will fail this context</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="fail()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>fail</strong>()</h4>
                                <p> Throw a failure.
   </p>
                            </li>
                        </ul>
                    
                        <a name="fail(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>fail</strong>(java.lang.String message)</h4>
                                <p> Throw a failure with the specified failure <code>message</code>.
   <DL><DT><B>Parameters:</B></DT><DD><code>message</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="fail(java.lang.Throwable)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>fail</strong>(java.lang.Throwable cause)</h4>
                                <p> Throw a failure with the specified failure <code>cause</code>.
   <DL><DT><B>Parameters:</B></DT><DD><code>cause</code> -  the failure cause</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="get(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>T <strong>get</strong>(java.lang.String key)</h4>
                                <p> Get some data from the context.
   <DL><DT><B>Returns:</B></DT><DD>the data</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>key</code> -  the key of the data</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="getDelegate()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Object <strong>getDelegate</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="put(java.lang.String, java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>T <strong>put</strong>(java.lang.String key, java.lang.Object value)</h4>
                                <p> Put some data in the context.
 <p>
 This can be used to share data between different tests and before/after phases.
   <DL><DT><B>Returns:</B></DT><DD>the previous object when it exists</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>key</code> -  the key of the data</DD><DD><code>value</code> -  the data</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="remove(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>T <strong>remove</strong>(java.lang.String key)</h4>
                                <p> Remove some data from the context.
   <DL><DT><B>Returns:</B></DT><DD>the removed object when it exists</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>key</code> -  the key to remove</DD></DL></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/unit/TestContext" target="_top">Frames</a></li>
            <li><a href="TestContext.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>